Skip to content

initial script for api call for token expiry#176

Open
bronachfalls wants to merge 4 commits into
mainfrom
CAT-2628_token_expiry
Open

initial script for api call for token expiry#176
bronachfalls wants to merge 4 commits into
mainfrom
CAT-2628_token_expiry

Conversation

@bronachfalls

@bronachfalls bronachfalls commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

https://perforce.atlassian.net/browse/CAT-2628?actionerId=6220db93db58c1006879dacf&sourceType=assign
ruby script that monitors Puppet Forge API token expiry. Authenticates via an OAuth2 password grant using forge-web-client credentials, then calls GET /private/keys to retrieve active API keys and filters for any expiring within 20 days.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@bronachfalls bronachfalls requested review from a team as code owners May 15, 2026 15:30
@bronachfalls bronachfalls marked this pull request as draft May 15, 2026 15:30
@bronachfalls bronachfalls force-pushed the CAT-2628_token_expiry branch from 20ec06a to 980640d Compare June 15, 2026 10:12
@bronachfalls bronachfalls force-pushed the CAT-2628_token_expiry branch from 980640d to c63b54a Compare June 29, 2026 09:15
…using forge-web-client credentials, then fetch and filter API keys expiring within 20 days

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bronachfalls bronachfalls marked this pull request as ready for review June 29, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant